package com.zjj.learn.designmodel.pattern.proxy.static_proxy;

/** 代理点卖票
 * *** @author zjj_admin
 * *** 2022/4/9 15:59
 */
public class ProxyPoint implements SellTickets {

    private TrainStation station = new TrainStation();


    @Override
    public void sell() {
        System.out.println("代理商收取费用");

        station.sell();
        System.out.println("代理商将车票给用户");
    }
}
